﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	通知列表
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>通知列表</h2>

    <%
        Message[] messages0 = (Message[])ViewData["messages0"];
    %>
    <dl class="msg_list_area">
        <dt><label class="icon_02">公司重要通知</label></dt>
        <dd>
            <table>
            <% foreach (var item in messages0)
                { 
            %>
            <tr>
              <td style="width:5px;padding-top:8px" valign="top">● </td>
              <td><%= item.content %></td>
            </tr>
            <% } %>
            </table>
        </dd>
    </dl>


    <%
        Message[] messages1 = (Message[])ViewData["messages1"];
    %>
    <dl class="msg_list_area">
        <dt><label class="icon_02">监控信息通知</label></dt>
        <dd>
            <table>
            <% foreach (var item in messages1)
                { 
            %>
            <tr>
              <td style="width:5px;padding-top:8px" valign="top">&nbsp; </td>
              <td><%= item.content %></td>
            </tr>
            <% } %>
            </table>
        </dd>
    </dl>


    <%
        Message[] messages2 = (Message[])ViewData["messages2"];
    %>
    <dl class="msg_list_area">
        <dt><label class="icon_02">系统维护通知</label></dt>
        <dd>
            <table>
            <% foreach (var item in messages2)
                { 
            %>
            <tr>
              <td style="width:5px;padding-top:8px" valign="top">● </td>
              <td><%= item.content %></td>
            <% } %>
            </tr>
            </table>
        </dd>
    </dl>


</asp:Content>
